//
//  SCConstants.h
//  Shuaiche
//
//  Created by zzs on 2017/10/24.
//  Copyright © 2017年 zzs. All rights reserved.
//

#ifndef SCConstants_h
#define SCConstants_h
//车辆列表入口
typedef NS_ENUM(NSUInteger, SCCarEntranceType) {
    SCCarEntranceTypeUnknown,
    SCCarEntranceTypeMyUnionStock,      //我的联盟库存
    SCCarEntranceTypeAuthUnion,         //帅车认证联盟库存
    SCCarEntranceTypeMyUnion,           //我的联盟
    SCCarEntranceTypeUnionMerchants,    //联盟商家
    SCCarEntranceTypeUnionPurchase,     //联盟求购

    SCCarEntranceTypeSoldCar,           //已售车辆
    SCCarEntranceTypePrepareManage,     //整备管理
    SCCarEntranceTypeInStore,           //在库车辆
    SCCarEntranceTypeHomeSearch,        //首页搜索      当前和SCCarEntranceTypeAuthUnion相同
    SCCarEntranceTypeHomeRankUnion,      //首页热门联盟
    SCCarEntranceTypeMerchantCars,      //商家车辆列表
    SCCarEntranceTypeMember,             // 联盟会员
    SCCarEntranceTypeAllCar,              // 全部车源
    SCCarEntranceTypeTodayReserve,        //今日预定
    SCCarEntranceTypeTodaySold,           // 今日销售
    SCCarEntranceTypeUnionMemberCar,      //联盟车源
};
typedef NS_ENUM(NSUInteger,SCBannerJumpType){
    SCBannerJumpToHomePage = 1,
    SCBannerJumpToAlliance = 2,
    SCBannerJumpToPrivateInfo = 3,
    SCBannerJumpToClientManager = 4,
    SCBannerJumpToOnSaleCarList = 5,
    SCBannerJumpToOnSaleCarDetail = 6,
    SCBannerJumpToAllianceCarList = 7,
    SCBannerJumpToAllianceCarDetail = 8,
    SCBannerJumpToSCCarList = 9,
    SCBannerJumpToSCCarDetail = 10,
    SCBannerJumpToSourceCarDetail = 11,
    SCBannerJumpToInquireList = 12,
    SCBannerJumpTypeAgentInvite = 13,
    SCBannerJumpTypeAgentBecome = 14,
    SCBannerJumpTypePurchaseDetail = 15,
    SCBannerJumpTypeBatchCars = 16,
    SCBannerJumpTypeBatchDetail = 17,
    SCBannerJumpTypeCustomers = 18,
    SCBannerJumpMemberVipIntro = 19,
    SCBannerJumpMemberVipBuy = 20,
    SCBannerJumpCourseDetail = 21,
    SCBannerJumpLecturerDetail = 22,
    SCBannerJumpCourseVideoPlay = 23,
    SCBannerJumpToH5 = 999
    //SCBannerJumpToCarDetailOfAlliance = 5,
};


typedef NS_ENUM(NSUInteger, SCCarFrom) {
    SCCarFromUnKnow,
    SCCarFromMyUnionList,
    SCCarFromUnionList,     // 认证库存
    SCCarFromHomeHot,
    SCCarFromHomeAlliance,  // 联盟商家
    SCCarFromMyUnion,       // 我的联盟
    SCCarFromOrderDetail,   // 订单详情
};

typedef NS_ENUM(NSUInteger,SCFilterTextFieldType){
    SCFilterTextFieldDefault = 0,
    SCFilterTextFieldPhoneNum,
};
typedef NS_ENUM(NSUInteger,SCBrokerAuditStatus){
    //未审核。待支付。待完善 等状态，申请信息可以进行修改
    SCBrokerAuditStatusNotSubmited = 0,// 未审核/无法j提交审核
    SCBrokerAuditStatusInReview,       // 审核中
    SCBrokerAuditStatusApprovaled,     // 审核通过
    SCBrokerAuditStatusNotApprovaled,  // 审核失败，未退款
    SCBrokerAuditStatusFrozen,         // 冻结
    SCBrokerAuditStatusWaitPay,        // 待支付
    SCBrokerAuditStatusWaitModify,     // 待完善
    SCBrokerAuditStatusFinish,         // 流程结束
};

// 0未审核 1审核通过 2审核不通过 4待审核
typedef NS_ENUM(NSUInteger,SCMerchantStatus){
    SCMerchantStatusNotSubmited = 0,//注册了公司信息,没提交资质认证
    SCMerchantStatusApprovaled,     // 已提交，审核通过
    SCMerchantStatusNotApprovaled,  // 未通过
    SCMerchantStatusNotUse,         // 该状态弃用
    SCMerchantStatusInReview,       // 审核中
    SCMerchantStatusNormal,         // 商户状态正常
    SCMerchantStatusFrozen          // 商户冻结
};

typedef NS_ENUM(NSUInteger,DetailSectionHeaderType){
    DetailSectionHeaderBasicInfo = 0,
    DetailSectionHeaderPurchaseInfo,
    DetailSectionHeaderCarConfigurationInfo,
    DetailSectionHeaderSalesInfo,
    DetaulSectionHeaderOtherInfo
};

typedef NS_ENUM(NSUInteger,PermissionType){
    Permission_EnableAddCar = 1,
    Permission_EnableEditCar = 1<<1,
    Permission_EnableReserveCar = 1<<2,
    Permission_EnableSaleCar = 1<<3,
    Permission_EnableDelCar = 1<<4,
    Permission_EnableSeePurchasePrice = 1<<5,
    Permission_EnableSeeTradePrice = 1<<6,
    Permission_EnableManageEmployee = 1<<7,
    Permission_EnableManageDuty = 1<<8,
    Permission_EnableManageAlliance = 1<<9,
    Permission_EnableEditCompanyInfo = 1<<10,
    Permission_EnableGetAllCustomer = 1<<11,
    Permission_EnableEditCustomer = 1<<12,
    Permission_EnableSeeUnionFloorPrice = 1<<13,
    Permission_EnableSetSpecialPrice = 1<<14,
    Permission_EnableCarRecycle = 1<<15,
    Permission_EnableEditPreparation = 1<<16,
    Permission_EnableOrderManager = 1 <<17,
    Permission_EnableStockCleaner = 1 << 18,
    Permission_EnableCheckMerchant= 1 << 19, //允许该员工查看其它经销商信息
    Permission_EnableCheckCompCharts = 1 << 20, //查看公司报表权限
    Permission_EnableSeeSaleFloorPrice = 1 << 21   // 销售底价权限
};

typedef NS_ENUM(NSInteger, SearchHistoryType) {
    SearchHistoryTypeCar,
    SearchHistoryTypeOrder,
    SearchHistoryTypePurchase,
    SearchHistoryTypeEmpolyee,
    SearchHistoryTypeClient,
    SearchHistoryTypeAlliancesMember,
};

typedef NS_ENUM(NSInteger, SCMemberVipLevel) {
    SCMemberVipLevelNormal  = 10, // 普通
    SCMemberVipLevel1 = 20, // 联盟会员
    SCMemberVipLevel2 = 30, // 诚信会员
    SCMemberVipLevel3 = 40, // 严选会员
};

//typedef NS_ENUM(NSInteger, BrandUsedType) {
//    BrandUsedTypeAdd,       // 添加对象时用到的品牌
//    BrandUsedTypeSearch     // 搜索对象时用到的品牌
//};

//typedef NS_ENUM(NSUInteger,SCCarSaleStatus){
//    SCCarOnSale = 1,
//    SCCarSaled,
//};
typedef NS_ENUM(NSUInteger,IntentionType){
    IntentionTypeBuyCar = 1,
    IntentionTypeSaleCar,
};

typedef NS_ENUM(NSInteger,SCMyOrderType) {
    SCMyOrderTypeBuy  = 1,  // 采购订单
    SCMyOrderTypeSell = 2, // 销售订单
    
};

static NSString* const SCMerchantApprovaledTip = @"恭喜你,审核已通过";
static NSString* const SCMerchantNotApprovaledTip = @"对不起,您的审核未通过";
static NSString* const SCMerchantFrozenTip = @"对不起,您的帐号已冻结";
static NSString* const SCMerchantInReviewTip = @"您的资料已提交,工作人员将在1～3个工作日内审核结束,请您耐心等待";
static NSString* const SCUserNoPermTip = @"您暂无权限\n请联系管理员开通权限";

static inline NSString* merchantReviewTip(SCMerchantStatus status){
    switch (status) {
//        case SCMerchantStatusNotSubmited:
//        case SCMerchantStatusNotUse:
//        case SCMerchantStatusNormal:{
//            return nil;
//        }
//            break;
        case SCMerchantStatusApprovaled:{
            return SCMerchantApprovaledTip;
        }
            break;
        case SCMerchantStatusNotApprovaled:{
            return SCMerchantNotApprovaledTip;
        }
            break;
        case SCMerchantStatusFrozen:{
            return SCMerchantFrozenTip;
        }
            break;
        case SCMerchantStatusInReview:{
            return SCMerchantInReviewTip;
        }
            break;
        default:
            return nil;
            break;
    }
}


typedef NS_ENUM(NSUInteger,SCCarAdditionType){
    SCCarAdditionTypeNormal = 0,
    SCCarAdditionTypeDisplacementType,
    SCCarAdditionTypeDescription,
};

typedef NS_ENUM(NSUInteger,CarType){
    CarTypeNewCar = 1,
    CarTypeSecondHandCar = 2,
    CarTypeEditOperation = 1<<4,
    CarTypeEditNewCar = CarTypeEditOperation|CarTypeNewCar,
    CarTypeEditSecondHandCar = CarTypeEditOperation|CarTypeSecondHandCar,
};

typedef NS_ENUM(NSUInteger,CarSaleStatus){
    CarSaleStatusPreSale = 1,
    CarSaleStatuseOnSale,   // 在厅
    CarSaleStatusReserved,  // 预定
    CarSaleStatusSaled,     // 出库
    CarSaleStatusRemoved,   // 删除
    CarSaleStatusAlliance,//这个暂时用于区分..类型,以后重新定义
    CarSaleStatusOwn,//帅车自营
    CarSaleStatusPreparation,
};

typedef NS_ENUM(NSUInteger, SCOrderStatus) {
    SCOrderStatusBegin  = 1,
    // 系统视角
    SCOrderStatusBeforeSellerSure   = 101,  //待卖家确认
    SCOrderStatusBeforeBuyerSure    = 102, //待买家确认
    SCOrderStatusBeforeDelivery     = 103, //待卖家发车
    SCOrderStatusBeforeReceipt      = 104, //待买家收车
    SCOrderStatusBeforeInspection   = 105, //待买家验车
    SCOrderStatusSuccess            = 106, //确认交易
    SCOrderStatusCancel             = 107, //取消交易
    SCOrderStatusBack               = 108, //退车
    SCOrderStatusClose              = 109,  //关闭
    SCOrderStatusWaitFinish         = 110, // 交易中
    SCOrderStatusWaitBuyerSign      = 111, // 待买家签署
    SCOrderStatusWaitSellerSign     = 112, // 待卖家签署
//    1：退车中-买家申请退车，待卖家同意,2：退车中-卖家已同意退车，待收车,3：卖家不同意退车，待买家验车,4：退车成功-卖家确认收车(订单关闭)
    
    SCOrderStatusBeforeSellerSureBuyer  = 201,  //待卖家确认 买家视角
    SCOrderStatusBeforeBuyerSureBuyer   = 202,  //待买家确认 买家视角
    SCOrderStatusBeforeDeliveryBuyer    = 203,  //待卖家发车 买家视角
    SCOrderStatusBeforeReceiptBuyer     = 204,  //待买家收车 买家视角
    SCOrderStatusBeforeInspectionBuyer  = 205,  //待买家验车 买家视角
    SCOrderStatusSuccessBuyer           = 206,
    SCOrderStatusCancelBuer             = 207,
    SCOrderStatusBackBuyer              = 208,
    SCOrderStatusCloseBuyer             = 209,
    SCOrderStatusWaitFinishBuyer        = 210,
    SCOrderStatusWaitBuyerSignBuyer     = 211,  // 待买家签署
    
    SCOrderStatusBeforeSellerSureSeller = 301,  //待卖家确认 卖家视角
    SCOrderStatusBeforeBuyerSureSeller  = 302,  //待买家确认 卖家视角
    SCOrderStatusBeforeDeliverySeller   = 303,  //待卖家发车 卖家视角
    SCOrderStatusBeforeReceiptSeller    = 304,  //待买家收车 卖家视角
    SCOrderStatusBeforeInspectionSeller = 305,  //待买家验车 卖家视角
    SCOrderStatusSuccessSeller          = 306,
    SCOrderStatusCancelSeller           = 307,
    SCOrderStatusBackSeller             = 308,
    SCOrderStatusCloseSeller            = 309,
    SCOrderStatusWaitFinishSeller       = 310,
    SCOrderStatusWaitSellerSignSeller   = 312,  // 待卖家签署
    
//    SCOrderStatusBackBeforeAgreeSeller  = 218, //买家退车待卖家同意 卖家视角
//    SCOrderStatusBackAgreeSeller        = 228, //买家退车卖家同意 卖家视角
//    SCOrderStatusBackRejectSeller       = 238, //买家退车 卖家不同意 卖家视角
//    SCOrderStatusBackFinishSeller       = 248, //买家退车待卖家同意 卖家视角
    
    
//    SCOrderStatusBackBeforeAgreeBuyer   = 318, //买家退车待卖家同意 买家视角
//    SCOrderStatusBackAgreeBuyer         = 328, //买家退车卖家同意 买家视角
//    SCOrderStatusBackRejectBuyer        = 338, //买家退车 卖家不同意 买家视角
//    SCOrderStatusBackFinishBuyer        = 348, //买家退车待卖家同意 买家视角

};

typedef NS_ENUM(NSUInteger,CarProcedureType){
    CarProcedureTypeBook = 0,
    CarProcedureTypeEditBooked,
    CarProcedureTypeSale,
    CarProcedureTypeEditSaled,
};


typedef NS_ENUM(NSUInteger,OrderType){
    OrderTypeBook = 0,
    OrderTypeEditBooked,
    OrderTypeSale,
    OrderTypeEditSaled,
};

typedef NS_OPTIONS(NSUInteger, SCCarOptions) {
    SCCarNormal = 1,// 0001
    SCCarNew = 1 << 1,// 0010 2
    SCCarSecond = 1 << 2,// 0100 4
        
    SCCarSelf = 1 << 3,// 1000 8
    SCCarAlliance = 1 << 4,// 10000 16
    
    SCCarSale = 1 << 5,     // 在厅
    SCCarBook = 1 << 6,     // 预定
    SCCarOut = 1 << 7,      // 出库
    SCCarDeleted = 1 << 8,  // 删除
    SCCarPreperation = 1 << 9,
    SCCarOrder = 1 << 10,
};


typedef NS_ENUM(NSUInteger,CarOption){
    CarPreSaleOption = (1<<CarSaleStatusPreSale),
    CarPreSaleOptionNewCar = CarPreSaleOption|CarTypeNewCar,
    CarPreSaleOptionSecondCar = CarPreSaleOption|CarTypeSecondHandCar,
    
    CarOnSaleOption = (1<<CarSaleStatuseOnSale),
    CarOnSaleOptionNewCar = CarOnSaleOption|CarTypeNewCar,
    CarOnSaleOptionSecondCar = CarOnSaleOption|CarTypeSecondHandCar,
    
    CarReservedOption = (1<<CarSaleStatusReserved),
    CarReservedOptionNewCar = CarReservedOption|CarTypeNewCar,
    CarReservedOptionSecondCar = CarReservedOption|CarTypeSecondHandCar,
    
    CarSaledOption = (1<<CarSaleStatusSaled),
    CarSaledOptionNewCar = CarSaledOption|CarTypeNewCar,
    CarSaledOptionSecondCar=CarSaledOption|CarTypeSecondHandCar,
    
    CarRemovedOption = (1<<CarSaleStatusRemoved),
    CarRemovedOptionNewCar = CarRemovedOption|CarTypeNewCar,
    CarRemovedOptionSecondCar= CarRemovedOption|CarTypeSecondHandCar,
    
    CarBelongToAllianceMember = 1<<6,
    CarBelongToSelf = 1<<7,
    CarBelongToSCOwn = 1<<8,
};


typedef NS_ENUM(NSUInteger,SCMessageType){
    SCMessageTypeCar = 1,
    SCMessageTypeAlliance,
    SCMessageTypeSystem,
    SCMessageTypeSubscribe,
    SCMessageTypeTrade,
};

typedef NS_ENUM(NSUInteger,SCDutyOperationType){
    SCDutyOperationTypeAdd = 0,
    SCDutyOperationTypeEdit,
};
static NSString *const kSCAlertAddAddressKey = @"SCAlertAddAddressKey";
static NSString* const kMsg = @"msg";
static NSString* const kCode = @"code";
static NSString* const kCertifiedStatus = @"certifiedStatus";
static NSString* const kSCMerchantStatus = @"status";
static NSString* const kStatusText = @"statusText";
static NSString* const kData = @"data";
static NSString* const kName = @"name";
static NSString* const kEncode = @"encode";
static NSString* const kID = @"id";
static NSString* const kIDs = @"ids";
static NSString* const kParentID = @"parentId";
static NSString* const kLevel = @"level";
static NSString* const kLogo = @"logo";
static NSString* const kHeadLetter  = @"headLetter";
static NSString* const kDateInfo = @"dateInfo";
static NSString* const kOrderType = @"orderType";

static NSString* const kAreaCode = @"areaCode";
static NSString* const kBrand = @"brand";
static NSString* const kSeries = @"series";
static NSString* const kSpecies = @"species";
static NSString* const kCarRank = @"carRank";
static NSString* const kCarRankInfo = @"carRankInfo";
static NSString* const kBodyStyle = @"bodyStyle";
static NSString* const kGearboxType = @"gearboxType";
static NSString* const kGearboxInfo = @"GearboxInfo";
static NSString* const kDriveType = @"driveType";
static NSString* const kEnergyType = @"energyType";
static NSString* const kColor = @"color";
static NSString* const kColorInfo = @"colorInfo";
static NSString* const kNameInfo = @"nameInfo";
static NSString* const kSelectedName = @"selectedName";
static NSString* const kSelectedNameId = @"selectedNameId";

static NSString* const kPriceMin = @"priceMin";
static NSString* const kPriceInfo = @"priceInfo";
static NSString* const kOnSalesPriceMax = @"onSalesPriceMax";
static NSString* const kOnSalesPriceMin = @"onSalesPriceMin";
static NSString* const kPrice = @"price";
static NSString* const kPriceMax = @"priceMax";
static NSString* const kSerchWord = @"keyword";
static NSString* const kCarName = @"carName";
static NSString* const kFastFilterName = @"fastFilterName";
static NSString* const kPageSize = @"pageSize";
static NSString* const kPageNo = @"pageNo";
static NSString* const kResultList = @"resultList";
static NSString* const kTotalSize = @"totalSize";

static NSString* const kCarResourceId = @"carResourceId";
static NSString* const kCarId = @"carId";
static NSString* const kCarIds = @"carIds";
static NSString* const kCarType = @"carType";
static NSString* const kPhone = @"phone";
static NSString* const kAuthorCode = @"authorCode";
static NSString* const kSource = @"source";
static NSString* const kGrade = @"grade"; //客户等级
static NSString* const kType = @"type";
static NSString* const kMerchantName = @"merchantName";
static NSString* const kIsMarginMerchant = @"isMarginMerchant";
static NSString* const kAuthenCode = @"authenCode";
static NSString* const kLegalPerson = @"legalPerson";
static NSString* const kPerson = @"person";
static NSString* const kLicense = @"license";
static NSString* const kMerchantAbbreviation = @"merchantAbbreviation";
static NSString* const kTelephone = @"telephone";
static NSString* const kMerchantLogoPic = @"merchantLogoPic";
static NSString* const kMerchantProfile = @"merchantProfile";
static NSString* const kMerchantId = @"merchantId";
static NSString* const kMemberId = @"memberId";
static NSString* const kIMTokenExpireTimeSeconds = @"imTokenExpireTimeSeconds";
static NSString* const kIMUserId = @"imUserId";
static NSString* const kIMToken = @"imToken";
static NSString* const kIsPrepareCar = @"isPrepareCar";
static NSString* const kUnionMemberId = @"unionMemberId";
static NSString* const kOwner = @"owner";
static NSString* const kProvinc = @"province";
static NSString* const kProvinceName = @"provinceName";
static NSString* const kProvince = @"province";
static NSString* const kCity = @"city";
static NSString* const kCityName = @"cityName";
static NSString* const kDistrict = @"district";
static NSString* const kDistrictName = @"districtName";
static NSString* const kAddress = @"address";
static NSString *const kAddressLocation = @"location";
static NSString *const kCompany = @"company";
static NSString* const kLicensePic = @"licensePic";
static NSString* const kStorePic = @"storePic";
static NSString* const kGoodsId = @"goodsId";
static NSString* const kMsgType = @"msgType";
static NSString* const kSession = @"session";
static NSString* const kContent = @"content";
static NSString* const kCreateTime = @"createTime";
static NSString* const kRecommend = @"recommend";
static NSString* const kRecommended = @"recommended";
static NSString* const kMerchantStatus = @"merchantStatus";
static NSString* const kAuditStatus = @"auditStatus";
static NSString* const kMileage = @"mileage";
static NSString* const kisReported = @"isReported";
static NSString* const kMemberLevelFilter = @"memberClasses";
static NSString* const kDisplacement = @"displacement";
static NSString* const kOuterColor = @"outerColor";
static NSString* const kInnerColor = @"innerColor";
static NSString* const kSaleStatus = @"saleStatus";
static NSString* const kCarMainPic = @"carMainPic";
static NSString* const kPurchasePrice = @"purchasePrice";
static NSString* const kPurchaseType = @"purchaseType";
static NSString* const kPurchaseRemark = @"purchaseRemark";
static NSString* const kPurchaser = @"purchaser";
static NSString* const kUnionFloorPrice = @"unionFloorPrice";
static NSString* const kMarkedPrice = @"markedPrice";
static NSString* const kSaleFloorPrice = @"saleFloorPrice";
static NSString* const kGuidePrice = @"guidePrice";
static NSString* const kVcode = @"vcode";
static NSString* const kPlateNumber = @"plateNumber";
static NSString* const kemissionStd = @"emissionStd";
static NSString* const kEmissionInfo = @"emissionInfo";
static NSString* const kUseNature = @"useNature";
static NSString* const kKeyNum = @"keyNum";
static NSString* const kAnnualInspectionDate = @"annualInspectionDate";
static NSString* const kJoinScBrand = @"joinScBrand"; //发布到品牌
static NSString* const kSpecialOfferCar = @"isOnSales"; //发布到特价车
static NSString* const kInsuranceDate = @"insuranceDate";
static NSString* const kProductionDate = @"productionDate";
static NSString* const kRegisterDate = @"registerDate";
static NSString* const kChildren = @"children";
static NSString* const kIdFrontPic = @"idFrontPic";
static NSString* const kIdBackPic = @"idBackPic";
static NSString* const kCarCondition = @"carCondition";
static NSString* const kFeatures = @"features";
static NSString* const kMaintence = @"maintence";
static NSString* const kTransferTimes = @"transferTimes";
static NSString* const kCommission = @"commission";
static NSString* const kEcode = @"ecode";
static NSString* const kInnerNo = @"innerNo";
static NSString* const kUpperTime = @"upperTime";
static NSString* const kCardetection = @"carDetection";
static NSString* const kInvoicePrice = @"invoicePrice";
static NSString* const kPurchaseDate = @"purchaseDate";
static NSString* const kPurchaserName = @"purchaserName";
static NSString* const kPicUrl = @"picUrl";
static NSString* const kReleaseCar = @"releaseCar";
static NSString* const kSpecialName = @"speciesName";
static NSString* const kIsCarRegister = @"isRegister";
static NSString* const kStoreStatus = @"storeStatus";
static NSString* const kSellerUserId = @"sellerUserId";
static NSString* const kSellerName = @"sellerName";
static NSString* const kEarnestPayment = @"earnestPayment";
static NSString* const kTailPayment = @"tailPayment";
static NSString* const kTradeDate = @"tradeDate";
static NSString* const kGoodsType = @"goodsType";
static NSString* const kRemarks = @"remarks";
static NSString* const kRemark = @"remark";
static NSString* const kDownPayment = @"downPayment";
static NSString* const kBookedDownPayment = @"bookedDownPayment";//因为预定模块定金必填做了处理
static NSString* const kFinalPayment = @"finalPayment";
static NSString* const kTradePrice = @"tradePrice";
static NSString* const kBuyerName = @"buyerName";
static NSString* const kBuyerUserId = @"buyerUserId";
static NSString* const kBuyerMerchantId = @"buyerMerchantId";
static NSString* const kCleanerCarId = @"cleanerCarId";
static NSString* const kSellerMerchantId = @"sellerMerchantId";
static NSString* const kSellerMerchantName = @"sellerMerchantName";
static NSString *const kCoSaledPic = @"coSaledPic";
static NSString* const kSellerMerchantPhone = @"sellerMerchantPhone";
static NSString* const kCoSaleMerchantPhone = @"coSaleMerchantPhone";
static NSString* const kCoSaleUnionId = @"coSaleUnionId";
static NSString* const kCoSaleUnionName = @"coSaleUnionName";
static NSString* const kOperator = @"operator";
static NSString* const kBoardPrice = @"boardPrice";
static NSString* const kMileageMin = @"mileageMin";
static NSString* const kMileageMax = @"mileageMax";
static NSString* const kMileageInfo = @"mileageInfo";
static NSString* const kOrderColumns = @"orderColumns";
static NSString* const kColumn = @"column";
static NSString* const kOrderAsc = @"orderAsc";
static NSString* const kTurbo = @"turbo";
static NSString* const kJoinUnion = @"joinUnion";
static NSString* const kMerchantPhone = @"merchantPhone";
static NSString* const kTradeSeller = @"seller";
static NSString* const kTradeGuest = @"guest";
static NSString* const kCarProvince = @"carProvince";
static NSString* const kCarCity = @"carCity";
static NSString* const kRegisterDateBegin = @"registerDateBegin";
static NSString* const kRegisterDateEnd  = @"registerDateEnd";
static NSString* const kMarkedPriceMin = @"markedPriceMin";
static NSString* const kMarkedPriceMax = @"markedPriceMax";
static NSString* const kCarColor = @"carColor";
static NSString* const kApplyReason = @"applyReason";
static NSString* const kScUnions = @"scUnions";
static NSString* const kTradeDateBegin = @"tradeDateBegin";
static NSString* const kTradeDateEnd = @"tradeDateEnd";
static NSString* const kCarPics = @"carPics";
static NSString* const kFullname = @"fullname";
static NSString* const kFace = @"face";
static NSString* const kBizType = @"bizType";
static NSString* const kBizId = @"bizId";
static NSString* const kOrderNo = @"orderNo";
static NSString* const kContractNo = @"contractNo";
static NSString* const kOrderId = @"orderId";
static NSString* const kIsFranchisee = @"isFranchisee";
static NSString* const kIsBuyerId = @"buyerId";
static NSString* const kIsExternalCarEntryUser = @"isExternalCarEntryUser";//caiyc 添加常量

static NSString* const kEnableAddCar = @"enableAddCar";
static NSString* const kEnableEditCar = @"enableEditCar";
static NSString* const kEnableReserveCar = @"enableReserveCar";
static NSString* const kEnableSaleCar = @"enableSaleCar";
static NSString* const kEnableDelCar = @"enableDelCar";
static NSString* const kEnableSeePurchasePrice = @"enableSeePurchasePrice";
static NSString* const kEnableSeeTradePrice = @"enableSeeTradePrice";
static NSString* const kEnableManageEmployee = @"enableManageEmployee";
static NSString* const kEnableManageDuty = @"enableManageDuty";
static NSString* const kEnableManageAlliance = @"enableManageAlliance";

static NSString* const kRoleName = @"roleName";
static NSString* const kInitPermId = @"initPermId";
static NSString* const kRoleDesc = @"roleDesc";
static NSString* const kRoleId = @"roleId";
static NSString* const kPermissionList = @"permissionList";

static NSString* const kPrepareStatus = @"prepareStatus";
static NSString* const kRepairStatus = @"repairStatus";
static NSString* const kPrepareUserName = @"prepareUserName";
static NSString* const kPrepareUserId = @"prepareUserId";
static NSString* const kPrepareBeginTime = @"prepareBeginTime";
static NSString* const kPredictFinishTime = @"predictFinishTime";
static NSString* const kPrepareItemTitle = @"prepareItemTitle";
static NSString* const kFinishTime = @"finishTime";
static NSString* const kPrepareItems = @"prepareItems";

static NSString* const kUnionId = @"unionId";
static NSString* const kUnionName = @"unionName";
static NSString* const kPerms = @"perms";
static NSString* const kArea = @"area";
static NSString* const kUnionSlogan = @"unionSlogan";
static NSString* const kUnionLogo = @"unionLogo";
static NSString* const kUnionInviteMerchantInfos = @"unionInviteMerchantInfos";
static NSString* const kInviterUserId = @"inviterUserId";
static NSString* const kInviterMerchantId = @"inviterMerchantId";
static NSString* const kInviteeMerchantId = @"inviteeMerchantId";
static NSString* const kInviteeMerchantIds = @"inviteeMerchantIds";
static NSString* const kInviteMerchantIds = @"inviteMerchantIds";
static NSString* const kMerchantIds = @"merchantIds";
static NSString* const kLeaderMerchantId = @"leaderMerchantId";
//static NSString* const kInviteUserId = @"inviteUserId";
static NSString* const kUnionRule = @"unionRule";
static NSString* const kMerchants = @"merchants";
static NSString* const kInviteId = @"inviteId";
static NSString* const kAgree = @"agree";
static NSString* const kInviteState = @"inviteState";
static NSString* const kUnionLeader = @"unionLeader";
static NSString* const kUnionLogoPic = @"unionLogoPic";
static NSString* const kResult = @"result";
static NSString* const kStatusCode = @"code";
static NSString* const kCaptchaValue = @"captchaValue";
static NSString* const kCaptchaKey = @"captchaKey";
static NSString* const kImageData = @"imageData";

static NSString* const kCustomerInfo = @"customerInfo";
static NSString* const kTags = @"tags";
static NSString* const kTag = @"tag";
static NSString* const kCustomerManager = @"customerManager";
static NSString* const kCustomerFollow = @"customerFollow";
static NSString* const kFollowStatus = @"followStatus";
static NSString* const kFollowDate = @"followDate";
static NSString* const kFollowTime = @"followTime";
static NSString* const kFollowNextDate = @"nextFollowTime";
static NSString* const kFollowDetail = @"followDetail";
static NSString* const kCustomerIntentions = @"customerIntentions";
static NSString* const kIntentionType = @"intentionType";
static NSString* const kBudgetMin = @"budgetMin";
static NSString* const kBudgetMax = @"budgetMax";
static NSString* const kSalePrice = @"salePrice";
static NSString* const kCustomerId = @"customerId";
static NSString* const kBeginTime = @"beginTime";
static NSString* const kEndTime = @"endTime";
static NSString* const kYellowAlert = @"yellowAlert";
static NSString* const kRedAlert = @"redAlert";
static NSString* const kAlerts = @"alerts";
static NSString* const kLastFollowStatus = @"lastFollowStatus";
static NSString* const kSearchBar = @"searchBar";
static NSString* const kCreateDate = @"createDate";
static NSString* const kCarAgeMin = @"carAgeMin";
static NSString* const kCarAgeMax = @"carAgeMax";
static NSString *const kCarAge = @"carAge";
static NSString* const kCarScope = @"carScope";
static NSString* const kCooperationPrice = @"cooperationPrice";
static NSString* const kRetailPrice = @"retailPrice";
static NSString* const kWholesalePrice = @"wholesalePrice";
static NSString* const kAdvicePrice = @"advicePrice";
static NSString* const kMortgageUnionFloorPrice = @"mortgageUnionFloorPrice";
static NSString* const kIdCard = @"idCard";
static NSString* const kIdNo = @"idNo";
static NSString* const kObjectType = @"objectType";
static NSString* const kUnionStartPage = @"unionStartPage";
static NSString* const kStoreCode = @"storeCode";
static NSString* const kTerminalType = @"terminalType";
static NSString* const kVersion = @"version";
static NSString* const kFocreUpdate = @"focreUpdate";
static NSString* const kMaxForceUpdate = @"maxFocrceUpdate";
static NSString* const kOnSalesPrice = @"onSalesPrice";
static NSString* const kOnSalesContacts = @"onSalesContacts";
static NSString* const kOnSalesPhone = @"onSalesPhone";
static NSString* const kAddFlag = @"addFlag";
static NSString* const kSpecialNum = @"specialNum";
static NSString* const kStockNum = @"stockNum";
static NSString* const kUnionNum = @"unionNum";
static NSString* const kHotUnions = @"hotUnions";
static NSString* const kAlliances = @"alliances";
static NSString* const kAlliance = @"alliance";
static NSString* const kUnions = @"unions";
static NSString* const kIsOnSales = @"isOnSales";
static NSString* const kUnionIds = @"unionIds";
static NSString* const kIsMyUnion = @"isMyUnion";
static NSString* const kIsOfficial = @"isOfficial";
static NSString* const kParentType = @"parentType";
static NSString* const kEnableStatus = @"enableStatus";
static NSString* const kForwardUrl = @"forwardUrl";
static NSString* const kJumpType = @"jumpType";
static NSString* const kH5Url = @"h5Url";
static NSString* const kJumpedTitle = @"title";
static NSString* const kPosterId = @"posterId";
static NSString* const kUnionLogo2 = @"unionLogo2";
static NSString* const kDataMerchantId = @"dataMerchantId";
static NSString* const kBizData = @"bizData";
static NSString* const kMerchantProdROS = @"merchantProdROS";
static NSString* const kProvinceId = @"provinceId";
static NSString* const kStandard = @"standard";
static NSString* const kOwnUnionName = @"ownUnionName";
static NSString* const kIsUnionContact = @"isUnionContact";
static NSString* const kFlawDescription = @"faultDescribe";
static NSString* const kPayPlain = @"payPlan";
static NSString* const kTypeId = @"typeId";
static NSString* const kExpulsionReason = @"expulsionReason";
static NSString* const kAttributions = @"attributions";
static NSString* const kUnionLeaderId = @"unionLeaderId";
static NSString* const kIsOpenUnion = @"isOpenUnion";
static NSString* const kIsOpen = @"isOpen";
static NSString* const kToLookCarMerchantId = @"toLookCarMerchantId";
static NSString* const kOrderStatus = @"orderStatus";
static NSString* const kIsCoSaleGoods = @"isCoSaleGoods";
static NSString* const kIsCrossRegion = @"isCrossRegion";
static NSString* const kCoSaleMerchantId = @"coSaleMerchantId";
static NSString* const kCoSaleMerchantName = @"coSaleMerchantName";
static NSString* const kOriginal = @"original";
static NSString* const kToken = @"token";
static NSString* const kShort = @"short";
static NSString* const kAssessmentReport = @"assessmentReport";
static NSString* const kCourseId = @"courseId";
static NSString* const kLecturerld = @"lecturerld";
static NSString* const kChapterId = @"chapterId";


static NSString* const kJumpPurchase = @"app:purchase"; // 求购详情 app:purchase?pid=300869
static NSString* const kJumpPurchases = @"app:purchases"; // 求购列表
static NSString* const kJumpBatchCars = @"app:batchCars"; // 批量车列表
static NSString* const kJumpBatchCar = @"app:batchCar";   // 批量车详情 app:batchCar?id=12345
static NSString* const kJumpCustomers = @"app:customers"; // 客户管理列表
static NSString* const kCarDetail = @"app:carDetail"; //
static NSString* const kUnionCarSearch = @"app:unionCarSearch"; //
static NSString* const kMemberVipIntro = @"app:memberVipIntroduce"; // 会员介绍页 app:memberVipIntroduce?memberClass=10,20,30,40
static NSString* const kMemberVipBuy = @"app:memberVipBuy"; // 会员购买页

// 改动时此说明上面的保持，全部确定后重构
static NSString* const kJumpHomePage = @"app:homePage";
static NSString* const kJumpMinePage = @"app:minePage";
static NSString* const kJumpUnionPage = @"app:unionPage";
static NSString* const kJumpCustomerList = @"app:customerList";
static NSString* const kJumpStockCarList = @"app:stockCarList";
static NSString* const kJumpStockCarDetail = @"app:stockCarDetail";
static NSString* const kJumpUnionCarList = @"app:unionCarList";
static NSString* const kJumpUnionCarDetail = @"app:unionCarDetail";
static NSString* const kJumpScCarList = @"app:scCarList";
static NSString* const kJumpScCarDetail = @"app:scCarDetail";
static NSString* const kJumpSourceCarDetail = @"app:sourceCarDetail";
static NSString* const kJumpInquireList = @"app:inquireList";
static NSString* const kJumpAgentWeb    = @"app:agent";
static NSString* const kJumpCourseDetail = @"app:courseDetail";//课程详情
static NSString* const kJumpLecturerDetail = @"app:lecturerDetail";//讲师详情
static NSString* const kJumpCourseVideoPlay = @"app:courseVideoPlay";//课程视频播放


//经纪人
static NSString* const kBrokerType = @"brokerType";
static NSString* const kPostageType = @"postageType";
static NSString* const kChannel = @"channel";
static NSString* const kInviter = @"inviter";               //邀请人ID
static NSString* const kInviterName = @"inviterName";       //邀请人名称
static NSString* const kBrokerAuditStatus = @"brokerAuditStatus";
static NSString* const kPerformance = @"performance";
static NSString *const kIsPayCost = @"isPayCost";
static NSString *const kIsPayDeposit = @"isPayDeposit";

static NSString *const kCostStatus = @"costStatus"; //年费状态：1待支付，2已支付，3已退还
static NSString *const kDepositStatus = @"depositStatus";//保证金状态：1待支付，2已支付，3已退还
// 消息
static NSString *const kUnionMsgCount = @"unionMsgCount";
static NSString *const kSysMsgCount = @"sysMsgCount";
static NSString *const kCarInfoMsgCount = @"carInfoMsgCount";
static NSString *const kCarSubCount = @"carSubCount";
static NSString *const kContractOrderCount = @"contractOrderCount";

static NSString *const kMaintenanceCount = @"maintenanceCount";
static NSString *const kTotalFee = @"totalFee";
static NSString *const kMaintenEnable = @"maintenEnable";

static NSString *const kShuaicheTelephone = @"shuaicheTelephone";

// 订单
static NSString *const kNeedPayDeposit = @"isNeedDeposit";

static NSString *const kIsScBrand = @"isScBrand"; //是否是帅车品牌门店
static NSString *const kCarFinancePlanId = @"carFinancePlanId";  //金融方案ID

// 协议
static NSString *const kScPrivacyHtml = @"/static/protocol/yeguanPrivacy.html";   // 隐私政策
static NSString *const kScServiceHtml = @"/static/protocol/yeguanService.html";   // 服务协议
static NSString *const kUsertoknowHtml = @"/static/protocol/usertoknow.html";   // 首页温馨提示协议
#endif /* SCConstants_h */
